home *** CD-ROM | disk | FTP | other *** search
- 166
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- WindowList
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWindowList returns a list of the handles of open windows. These handles can
- --- RECORDSEPARATOR ---
- then be used in other window management functions.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baWindowList( Class/Creator, Caption, MatchCaption )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String, Integer.
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
- , Class is the class name of the window.
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Macintosh
- --- RECORDSEPARATOR ---
- , Creator it is the creator type of the application.
- --- RECORDSEPARATOR ---
- Caption is the Caption of the windows to find.
- --- RECORDSEPARATOR ---
- If MatchCaption is true, then Caption must match the window caption exactly (apart
- --- RECORDSEPARATOR ---
- from case). If it is false, then any window which contains Caption will be returned. If
- --- RECORDSEPARATOR ---
- Caption is an empty string, then MatchCaption is ignored.
- --- RECORDSEPARATOR ---
- The function can use either or both Class/Creator and Caption arguments. If one of
- --- RECORDSEPARATOR ---
- the arguments is blank, then only the other argument will be used in searching for
- --- RECORDSEPARATOR ---
- the windows.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- List (Xtra) or String (UCD).
- --- RECORDSEPARATOR ---
- Returns a list or string of all matching window handles.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set WndList = baWindowList( "" , "Netscape" , false )
- --- RECORDSEPARATOR ---
- --
- --- RECORDSEPARATOR ---
- return list of all windows
- --- RECORDSEPARATOR ---
- with a caption containing "Netscape"
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- WndList := baWindowList( "Notepad" , "" , false )
- --- RECORDSEPARATOR ---
- --
- --- RECORDSEPARATOR ---
- return list of all Notepad
- --- RECORDSEPARATOR ---
- windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- The return for the UCD version is a string with each window handle on a separate
- --- RECORDSEPARATOR ---
- line. You can use the Authorware GetLine function to retrieve each window handle.
- --- RECORDSEPARATOR ---
- The windows will be listed in front-to-back order - the first window in the list will be
- --- RECORDSEPARATOR ---
- the one at the front, while the last one in the list will be behind all other windows in
- --- RECORDSEPARATOR ---
- the list.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baFindWindow
- --- RECORDSEPARATOR ---
- baGetWindow